package com.school.device.config;

import java.util.Map;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import lombok.Data;
import lombok.EqualsAndHashCode;

@Configuration
@Data
@EqualsAndHashCode
@ConfigurationProperties(prefix = "school.device.dahua")
public class DahuaCofig {
	private Byte type;//模式 1:在线拉取设备 0:直接配置设备
	private String deviceipUrl;//ipApi
	private String pushUrl;//报警上传地址
	private Map<String,DahuaInfo> groups;//设备配置地址	
}
